package com.rykj.energy.database.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("maintain_executor")
@ApiModel("计算端信息")
public class Executor {

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("组id")
    private Integer  groupId;

    @ApiModelProperty("计算端名称")
    private String  executorName;

    @ApiModelProperty("计算端编号")
    private String   executorNo;

    @ApiModelProperty("计算端IP")
    private String  executorIp;

    @ApiModelProperty("计算端端口")
    private Integer  xecutorPort;

    @ApiModelProperty("注册算力")
    private Integer registerPower;

    @ApiModelProperty("创建时间")
    private Date createDate;

    @ApiModelProperty("状态")
    private String  status;

}
